package com.yuqih.common.websocket;

import java.io.IOException;
import java.util.Set;

import javax.websocket.Session;


public interface IWebSocketManager {

	// void sendMessage(Session session, String message) throws IOException;
	
	void sendMessage(Session session, WebSocketResponse message) throws IOException;
	
	SessionContainer initialize(Session session, IWebSocketMessageHandler handler);

	SessionContainer initialize(Session session, IWebSocketMessageHandler handler,
			IWebSocketIniter initer);

	SessionContainer remove(Session session);

	Set<SessionContainer> getContainerSet();

}
